<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格学习</title>
</head>
<body>
    <!--
        table 表格
        tr  table row  行
        td  table data  列
    -->
    <table width="500px"
           border="1px"
           cellpadding="0px"
           cellspacing="0px"
           align="center"
           bgcolor="#7fff00"
            >
        <tr>
            <td>id</td>
            <td>姓名</td>
            <td>age</td>
            <td>score</td>
        </tr>
        <tr>
            <td>1</td>
            <td>taoling</td>
            <td>18</td>
            <td>99</td>
        </tr>
        <tr>
            <td>2</td>
            <td>石欣欣</td>
            <td>20</td>
            <td>99</td>
        </tr>
    </table>

<!--表格合并-->
    <table width="600px"
           border="1px"
           cellspacing="0px"
           align="center"
    >
        <tr >
            <td height="200px" colspan="2" bgcolor="red"></td>

            <td rowspan="2" bgcolor="yellow"></td>
        </tr><tr>
            <td rowspan="2" height="200px" bgcolor="blue"></td>
            <td height="200px"></td>

        </tr><tr>

            <td height="200px" colspan="2" bgcolor="green"></td>

        </tr>
    </table>

</body>
</html>
